﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ManagePB.aspx.cs" Inherits="Admin_ManagePB" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>排班设置</title>
    
    <link href="../css/SIS.css" rel="stylesheet" type="text/css" />

    <script language="javascript" type="text/javascript" src="../My97DatePicker/WdatePicker.js"></script>

    <script language="javascript" type="text/javascript" src="../Js/Excel.js"></script>
    
    <script language="javascript" type="text/javascript" src="../Js/jquery-1.8.0.js"></script>
    
    <script type="text/javascript" language="javascript">
    function $(id)        
        { 
            return (document.getElementById) ? document.getElementById(id) : document.all[id] ; 
        }
    function ShowWait() 
        { 
            document.getElementById("__01").style.display="none";
            document.getElementById("divWait").style.display=""; 
        } 

    
    </script>
    
    <style type="text/css">
         

    .button
    {
    width:56px;  /*图片宽带*/
    background:url(../img/button.jpg) no-repeat left top;  /*图片路径*/
    border:none;  /*去掉边框*/
    height:24px; /*图片高度*/
    color:White;
    vertical-align: middle;
    text-align:center
    }

    .grid-head 
    { 
        font-size: 12px; 
        font-weight:bold; 
        color:White;
        background-image:url(../img/footer.jpg); 
        text-align:center; 
        vertical-align:middle; 
        background-color:#507dd2;
    }
    

    </style>

    
</head>
<body>
    <form id="form1" runat="server">
    <!--等待层-->
    <div id="divWait" style="border: background: #ffffff; padding: 0px;
        width: 450px; z-index: 1001; display:none; position: absolute; top: 50%; left: 50%;
        margin: -200px 0 0 -300px;" >
    <table id="Table1"  border="0" cellpadding="0" cellspacing="0" runat="server">
        <tr>
	        <td><img src="../img/Manage_01.jpg" width="28" height="34" alt=""/></td>
	        <td colspan="2" style=" background:url(../img/Manage_02.jpg)"><img src="../img/Manage_02.jpg" width="380" height="34" alt=""/></td>
	        <td><img src="../img/Manage_03.jpg" width="29" height="34" alt=""/></td>
        </tr>

	    <tr>
		    <td><img src="../img/Manage_12.jpg" width="28" height="5" alt=""/></td>
		    <td colspan="2" style=" background:url(../img/Manage_13.jpg)"><img src="../img/Manage_13.jpg" width="202" height="5" alt=""/></td>
		    <td><img src="../img/Manage_14.jpg" width="29" height="5" alt=""/></td>
	    </tr>
	    <tr>
		    <td><img src="../img/Manage_15.jpg" width="28" height="50" alt=""/></td>
		    <td colspan="2" style="background-color:#b9dcef" align="center">
		      正在排序并上传10年的排班表，可能需要几分钟的时间，请耐心等待...  
		    </td>
		    <td><img src="../img/Manage_17.jpg" width="29" height="50" alt=""/></td>
	    </tr>
	    <tr>
		    <td><img src="../img/Manage_18.jpg" width="28" height="10" alt=""/></td>
		    <td colspan="2" style=" background:url(../img/Manage_19.jpg)"><img src="../img/Manage_19.jpg" width="202" height="10" alt=""/></td>
		    <td><img src="../img/Manage_20.jpg" width="29" height="10" alt=""/></td>
	    </tr>
	    <tr>
		    <td style=" background:url(../img/Manage_21.jpg)"><img src="../img/Manage_21.jpg" width="28" height="20" alt=""/></td>
		    <td colspan="2" style="background-color:#ffffff" align="center">
		    <marquee style="BORDER-RIGHT: black 1px solid; BORDER-TOP: black 1px solid; FONT-SIZE: 8pt; BORDER-LEFT: black 1px solid; WIDTH: 280px; BORDER-BOTTOM: black 1px solid; HEIGHT: 8px" scrollAmount=4 scrollDelay=10 direction=right bgColor=#ecf2ff>
                <table height="8" cellpadding="0" cellspacing="0">
                <tbody height="8">
                <tr height="8">
                <td  width="8" height="8" style="background-color:#3399ff;">&nbsp;</td>
                <td height="8">&nbsp;</td>
                <td width="8" height="8" style="background-color:#3399ff;">&nbsp;</td>
                <td>&nbsp;</td>
                <td width="8" height="8" style="background-color:#3399ff;">&nbsp;</td>
                <td>&nbsp;</td>
                <td width="8" height="8" style="background-color:#3399ff;">&nbsp;</td>
                <td>&nbsp;</td></tr></tbody></table></marquee>
		    </td>
		    <td style=" background:url(../img/Manage_23.jpg)"><img src="../img/Manage_23.jpg" width="29" height="20" alt=""/></td>
	    </tr>
	    <tr>
		    <td><img src="../img/Manage_24.jpg" width="28" height="25" alt=""/></td>
		    <td colspan="2" style=" background:url(../img/Manage_25.jpg)"><img src="../img/Manage_25.jpg" width="202" height="25" alt=""/></td>
		    <td><img src="../img/Manage_26.jpg" width="29" height="25" alt=""/></td>
	    </tr>
    </table>
    </div>
        <div id="Div2">
            <img id="imgTop" height="38px;" src="../img/ManagePBSet.jpg" width="100%" alt="班组管理" />
        </div>
            
    <table id="__01"  border="0" cellpadding="0" cellspacing="0" runat="server">
        <tr>
	        <td><img src="../img/Manage_01.jpg" width="28" height="34" alt=""/></td>
	        <td colspan="2" style=" background:url(../img/Manage_02.jpg)"><img src="../img/Manage_02.jpg" width="500" height="34" alt=""/></td>
	        <td><img src="../img/Manage_03.jpg" width="29" height="34" alt=""/></td>
        </tr>

	    <tr>
		    <td><img src="../img/Manage_12.jpg" width="28" height="5" alt=""/></td>
		    <td colspan="2" style=" background:url(../img/Manage_13.jpg)"><img src="../img/Manage_13.jpg" width="202" height="5" alt=""/></td>
		    <td><img src="../img/Manage_14.jpg" width="29" height="5" alt=""/></td>
	    </tr>
	    <tr>
		    <td><img src="../img/Manage_15.jpg" width="28" height="27" alt=""/></td>
		    <td colspan="2" style="background-color:#b9dcef" align="center">
		        <asp:Button ID="btnAddRow" runat="server" Text="增行" OnClick="btnAddRow_Click" CssClass="button"></asp:Button>
                                &nbsp;
                <asp:Button ID="btnDelRow" runat="server" Text="减行" OnClick="btnDelRow_Click" CssClass="button"></asp:Button>
                                &nbsp;
		        <asp:Button ID="btnSure" runat="server" Text="排序" OnClick="btnSure_Click" OnPreRender="btnSure_Css" CssClass="button"></asp:Button>
                                &nbsp;
                <asp:Button ID="btnCancel" runat="server" Text="取消" OnClick="btnCancel_Click" CausesValidation="False" CssClass="button"></asp:Button>
		    </td>
		    <td><img src="../img/Manage_17.jpg" width="29" height="27" alt=""/></td>
	    </tr>
	    <tr>
		    <td><img src="../img/Manage_18.jpg" width="28" height="10" alt=""/></td>
		    <td colspan="2" style=" background:url(../img/Manage_19.jpg)"><img src="../img/Manage_19.jpg" width="202" height="10" alt=""/></td>
		    <td><img src="../img/Manage_20.jpg" width="29" height="10" alt=""/></td>
	    </tr>
	    <tr>
		    <td style=" background:url(../img/Manage_21.jpg)"><img src="../img/Manage_21.jpg" width="28" height="86" alt=""/></td>
		    <td colspan="2" style="background-color:#ffffff" align="center">
		        <asp:GridView ID="GridPB" runat="server"  CellPadding="4"  ForeColor="#333333" 
                    GridLines="Both" Width="100%" OnRowDataBound="GridView_list_RowDataBound">
                    <RowStyle BackColor="#EFF3FB"  HorizontalAlign ="Center"/>
                    <Columns>
                    </Columns>
                    <PagerStyle BackColor="#507dd2" ForeColor="White" HorizontalAlign="Center" />
                    <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                    <HeaderStyle CssClass="grid-head"/>
                    <EditRowStyle BackColor="#2461BF" />
                    <AlternatingRowStyle BackColor="White" />
                </asp:GridView>
    		</td>
		    <td style=" background:url(../img/Manage_23.jpg)"><img src="../img/Manage_23.jpg" width="29" height="86" alt=""/></td>
	    </tr>
	    <tr>
		    <td><img src="../img/Manage_24.jpg" width="28" height="25" alt=""/></td>
		    <td colspan="2" style=" background:url(../img/Manage_25.jpg)"><img src="../img/Manage_25.jpg" width="202" height="25" alt=""/></td>
		    <td><img src="../img/Manage_26.jpg" width="29" height="25" alt=""/></td>
	    </tr>
    </table>
    </form>
</body>
</html>
